﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AppFramework.DinosaursParkMes.ProductWork.Dto
{
    public class PutSchedulDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string Workordernumber { get; set; }

        /// <summary>
        /// 工单名称
        /// </summary>
        public string Workordername { get; set; }
        /// <summary>
        /// 计划数量
        /// </summary>
        public int Plannum { get; set; }
        /// <summary>
        /// 计划开工时间
        /// </summary>
        public DateTime Starttime { get; set; }

        /// <summary>
        /// 计划完工时间
        /// </summary>
        public DateTime Completedtime { get; set; }

        /// <summary>
        /// 需求日期
        /// </summary>
        public DateTime Demandtime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 工艺路线名称
        /// </summary>
        public string RoutingName { get; set; }
        public List<RouteAndPlanTalbe> RouteAndPlanTalbes { get; set; }


    }
    public class RouteAndPlanTalbe
    {
        /// <summary>
        /// 工序编号
        /// </summary>
        public string ProcedureNumber { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }
        public List<PlabTalbe> PlabTalbes { get; set; }
    }
    public class PlabTalbe
    {
        /// <summary>
        /// 任务编号
        /// </summary>
        public string Productioncodenumber { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string Productionname { get; set; }

        /// <summary>
        /// 站点名称
        /// </summary>
        public string Workername { get; set; }
        /// <summary>
        /// 站点编号
        /// </summary>
        public string Zhandianname { get; set; }
        /// <summary>
        /// 计划数量
        /// </summary>
        public int Plannum { get; set; }
        /// <summary>
        /// 计划完成时间
        /// </summary>
        public DateTime Projectenddate { get; set; }

        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime Projectbegindate { get; set; }
    }
}
